<?php

namespace app\api\model;

use think\Model;

class User extends Model
{
    public function reg($data)
    {
       $data['status']=1;
       return $this->save($data);
    }
}
